package cn.hnc.checkapi.bean.response;

import java.io.Serializable;
import java.util.List;

public class ProductResponseEntity implements Serializable {
   private static final long serialVersionUID = 5578280672976069957L;
   private String msgDesc;
   private Integer msgCode;
   private Integer currPage;
   private Integer totalPage;
   private Integer totalNum;
   private List data;
   private List maplist;

   public String getMsgDesc() {
      return this.msgDesc;
   }

   public Integer getMsgCode() {
      return this.msgCode;
   }

   public Integer getCurrPage() {
      return this.currPage;
   }

   public Integer getTotalPage() {
      return this.totalPage;
   }

   public Integer getTotalNum() {
      return this.totalNum;
   }

   public List getData() {
      return this.data;
   }

   public List getMaplist() {
      return this.maplist;
   }

   public void setMsgDesc(final String msgDesc) {
      this.msgDesc = msgDesc;
   }

   public void setMsgCode(final Integer msgCode) {
      this.msgCode = msgCode;
   }

   public void setCurrPage(final Integer currPage) {
      this.currPage = currPage;
   }

   public void setTotalPage(final Integer totalPage) {
      this.totalPage = totalPage;
   }

   public void setTotalNum(final Integer totalNum) {
      this.totalNum = totalNum;
   }

   public void setData(final List data) {
      this.data = data;
   }

   public void setMaplist(final List maplist) {
      this.maplist = maplist;
   }

   public boolean equals(final Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof ProductResponseEntity)) {
         return false;
      } else {
         ProductResponseEntity other = (ProductResponseEntity)o;
         if (!other.canEqual(this)) {
            return false;
         } else {
            label95: {
               Object this$msgDesc = this.getMsgDesc();
               Object other$msgDesc = other.getMsgDesc();
               if (this$msgDesc == null) {
                  if (other$msgDesc == null) {
                     break label95;
                  }
               } else if (this$msgDesc.equals(other$msgDesc)) {
                  break label95;
               }

               return false;
            }

            Object this$msgCode = this.getMsgCode();
            Object other$msgCode = other.getMsgCode();
            if (this$msgCode == null) {
               if (other$msgCode != null) {
                  return false;
               }
            } else if (!this$msgCode.equals(other$msgCode)) {
               return false;
            }

            Object this$currPage = this.getCurrPage();
            Object other$currPage = other.getCurrPage();
            if (this$currPage == null) {
               if (other$currPage != null) {
                  return false;
               }
            } else if (!this$currPage.equals(other$currPage)) {
               return false;
            }

            label74: {
               Object this$totalPage = this.getTotalPage();
               Object other$totalPage = other.getTotalPage();
               if (this$totalPage == null) {
                  if (other$totalPage == null) {
                     break label74;
                  }
               } else if (this$totalPage.equals(other$totalPage)) {
                  break label74;
               }

               return false;
            }

            label67: {
               Object this$totalNum = this.getTotalNum();
               Object other$totalNum = other.getTotalNum();
               if (this$totalNum == null) {
                  if (other$totalNum == null) {
                     break label67;
                  }
               } else if (this$totalNum.equals(other$totalNum)) {
                  break label67;
               }

               return false;
            }

            Object this$data = this.getData();
            Object other$data = other.getData();
            if (this$data == null) {
               if (other$data != null) {
                  return false;
               }
            } else if (!this$data.equals(other$data)) {
               return false;
            }

            Object this$maplist = this.getMaplist();
            Object other$maplist = other.getMaplist();
            if (this$maplist == null) {
               if (other$maplist != null) {
                  return false;
               }
            } else if (!this$maplist.equals(other$maplist)) {
               return false;
            }

            return true;
         }
      }
   }

   protected boolean canEqual(final Object other) {
      return other instanceof ProductResponseEntity;
   }

   public int hashCode() {
      boolean PRIME = true;
      int result = 1;
      Object $msgDesc = this.getMsgDesc();
      result = result * 59 + ($msgDesc == null ? 43 : $msgDesc.hashCode());
      Object $msgCode = this.getMsgCode();
      result = result * 59 + ($msgCode == null ? 43 : $msgCode.hashCode());
      Object $currPage = this.getCurrPage();
      result = result * 59 + ($currPage == null ? 43 : $currPage.hashCode());
      Object $totalPage = this.getTotalPage();
      result = result * 59 + ($totalPage == null ? 43 : $totalPage.hashCode());
      Object $totalNum = this.getTotalNum();
      result = result * 59 + ($totalNum == null ? 43 : $totalNum.hashCode());
      Object $data = this.getData();
      result = result * 59 + ($data == null ? 43 : $data.hashCode());
      Object $maplist = this.getMaplist();
      result = result * 59 + ($maplist == null ? 43 : $maplist.hashCode());
      return result;
   }

   public String toString() {
      return "ProductResponseEntity(msgDesc=" + this.getMsgDesc() + ", msgCode=" + this.getMsgCode() + ", currPage=" + this.getCurrPage() + ", totalPage=" + this.getTotalPage() + ", totalNum=" + this.getTotalNum() + ", data=" + this.getData() + ", maplist=" + this.getMaplist() + ")";
   }
}
